package com.hw.dagl.service;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.List;

import javax.servlet.http.HttpServletResponse;

import com.hw.dagl.model.Driver_audit;
import com.hw.dagl.model.Sys_Role;
import com.hw.dagl.model.Vehicle;
import com.hw.dao.utils.GcPage;
import com.hw.dao.utils.Page;
import com.hw.dao.utils.PageUtil;

import freemarker.core.ParseException;
import freemarker.template.MalformedTemplateNameException;
import freemarker.template.TemplateException;

public interface YxxxglService {

	//分页展示驾驶证信息
	Page<Driver_audit> findJszByPage(Page<Driver_audit> pages, Driver_audit info,
									String startTime, String endTime);

	/**
	 * 通过xh查询驾驶证信息
	 * @param xh
	 * @return
	 */
	Driver_audit findJszByxh(String xh);

    List<Vehicle> queryVehicleList(Vehicle info,String startTime, String endTime,PageUtil page);

	Page<Vehicle> findYxsqxzxx(Page<Vehicle> pages, Vehicle info,
			String startTime, String endTime,Sys_Role sysRole);

	Vehicle findYxsqxzByxhFirstIn(Vehicle info,
			String startTime, String endTime);

	GcPage<Vehicle> findYxsqxzByxhUpAndDown(GcPage<Vehicle> pages,
			Vehicle info, String startTime, String endTime);

	List<Vehicle> findYxshByxh(Vehicle info);

	int updateYxxzzt(Vehicle info);

	Page<Vehicle> findYxshxzxx(Page<Vehicle> pages, Vehicle info,
			String startTime, String endTime);

	GcPage<Vehicle> findYxshxzByxhFirstIn(GcPage<Vehicle> pages, Vehicle info,
			String startTime, String endTime);

	GcPage<Vehicle> findYxshxzByxhUpAndDown(GcPage<Vehicle> pages,
			Vehicle info, String startTime, String endTime);

	int updateYxxzztBatch(Vehicle info);

	int updateYxsqxzBatch(Vehicle info);

	List<Vehicle> findYxxxByIds(String ids);

	/*List<Vehicle> findYxxxPicByIds(String ids);*/

	List<Vehicle> findyxxxsqztByIds(String ids);

	Vehicle findYxxxglByxh(Vehicle info, String startTime, String endTime,Sys_Role sysRole);

	Vehicle findYxxxPicByxh(String lsh,String xh);

	List<Vehicle> queryOpertype(String ywlx);

	 List<Vehicle>  getvehicleList(String startTime, String endTime, String hphm, String hpzl);

	int countVehice(String startTime, String endTime, String hphm, String hpzl);

	Page<Vehicle> findvehicledayjPage(Page<Vehicle> pages, Vehicle info, String startTime, String endTime);




	
}
